package com.pvdnc.tapkit.chat;

import android.app.Application;
import android.content.ComponentCallbacks;
import android.content.Context;

import com.pvdnc.nsocket.log.AbstractLog;
import com.pvdnc.tapkit.utils.LifecycleManager;
import com.pvdnc.tapkit.utils.LocalBroadcast;
import com.pvdnc.tapkit.utils.LogImpl;

public class ChatApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        //这三个组件的加载一定要按顺序进行
        AbstractLog.systemReady(new LogImpl());
        LocalBroadcast.systemReady(this);
        LifecycleManager.systemReady(this);
    }
}
